﻿using Apps.BLL;
using Apps.DAL;
using Apps.IBLL;
using Apps.IDAL;
using Unity;

namespace Apps.Core
{
	public class DependencyRegisterType
	{
		/// <summary>
		/// 系统注入
		/// </summary>
		/// <param name="container"></param>
		public static void Container_Sys(ref UnityContainer container)
		{
			container.RegisterType<ISysSampleBLL, SysSampleBLL>();//样例
			container.RegisterType<ISysSampleRepository, SysSampleRepository>();
		}

	}
}
